package learn3;
//泛型编程的语法

//泛型类
public class myArray<T> {
    private T t;
    public T getT(){
        return t;
    }
    public void setT(T t){
        this.t=t;
    }
    public void fun(){
        System.out.println(t);}
}
